
//环形图数据
export interface ClassifyTop5Item {
    securityNo: string;
    value: number;
    code: string;
    percent:string;
    name: string;
    [keyof: string]:any;
}
//乱点列表环形图数据
export type CardItem = {
    securityNo:string;
    concernStatus: string;
    securityName: string;
    xqdwName:string;
    securityCaseNum: number;
    xqdwCode: string;
    classifyTop5List:Array<ClassifyTop5Item>;
};

//折线图数据
export interface dataItem {
    securityNo: string;
    dataDate: string;
    caseNum: number | null;
    percent:string;
    yoyCaseNum: number;
}

//乱点列表折线图数据
export type BrokenLineItem = {
    securityNo:string;
    concernStatus: string;
    securityName: string;
    xqdwName:string;
    securityCaseNum: number;
    xqdwCode: string;
    dayList:Array<dataItem>
};

//警情列表数据
export type policeInformationItem = {
        alarmPerson: string;
        securityName: string;
        latitude: string;
        jcaseNo: string;
        caseNo: string;
        securityNo: string;
        callSummaryCode: string;
        dealSummaryCode: string;
        xqdwName: string;
        happenAddress: string;
        callXqdwCode: string;
        callSummaryName: string;
        caseDesc: string;
        classifyCode: string;
        callPhone: string;
        suboffice: string;
        happenAddress2: string;
        classifyName: string;
        callTime: string;
        dealDesc:string
        dealSummaryName: string;
        happenTime:  string | null ;
        longitude:string;
};

//接警反馈信息
export type policeDetails = {
    fieldName: string; 
    fieldCode: string; 
    value ?:  string | null | number
};

//分类统计信息
export interface ClassifiedChildren {
    code: string;
    caseNum: number;
    name: string;
}
export interface Classified {
    code: string;
    caseNum: number;
    children:Array<ClassifiedChildren>;
    name: string;
}

//情报颗粒统计数据
export type statisticsItem = {
    code: string;
    caseNum: number;
    children: any;
    name: string;
};

//颗粒要素占比统计
export interface ProportionSalesChildren{
    caseNum: number; 
    name:string
};

export type ProportionSalesItem = {
    value?: number;
    children:Array<ProportionSalesChildren>;
    name: string;
};


